package com.tm.chargecar.controller;

import com.tm.chargecar.result.Result;
import com.tm.chargecar.service.ElectronicCardUserService;
import com.tm.chargecar.vo.ElectronicCardUserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 该死了
 * @create 2022-08-24 14:50
 * 营销电子卡
 */
@RestController
@RequestMapping("ElectronicCardUserController")
public class ElectronicCardUserController {
    @Autowired
    private ElectronicCardUserService electronicCardUserService;
    //用户卡条件查询
    @GetMapping("query")
    public Result electronicCardUserQuery(ElectronicCardUserVo electronicCardUserVo){
        return electronicCardUserService.electronicCardUserQuery(electronicCardUserVo);
    }

}
